/**
 * 
 */
package edu.hit.pact.pgse.communication.message;

import edu.hit.pact.pgse.communication.message.AbstractMessage.COMMUNICATION_TYPE;

/**
 * @author Shenwenbo
 *
 */
public class SpeedReportMessage extends AbstractMessage {

	/**
	 * 
	 */
	private static final long serialVersionUID = -4853534629830930413L;
	private int currentSpeed;
	
	public SpeedReportMessage(COMMUNICATION_TYPE type, boolean needReply, int currentSpeed) {
		super(type, needReply);
		
		this.currentSpeed = currentSpeed;
	}

	public int getCurrentSpeed() {
		return currentSpeed;
	}

}
